package jmine.tec.security.josso;

import bancosys.tec.exception.LocalizedMessageHolder;
import bancosys.tec.security.SecurityException;

/**
 * Exceção utilizada pelo módulo JOSSO
 * 
 * @author lundberg
 */
public class JOSSOSecurityException extends SecurityException {

    public static final String BUNDLE = "security-josso-messages";

    /**
     * Construtor
     * 
     * @param messageHolder messageHolder
     * @param cause cause
     */
    public JOSSOSecurityException(LocalizedMessageHolder messageHolder, Throwable cause) {
        super(messageHolder, cause);
    }

    /**
     * Construtor
     * 
     * @param messageHolder messageHolder
     */
    public JOSSOSecurityException(LocalizedMessageHolder messageHolder) {
        super(messageHolder);
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public String getBundleBaseName() {
        return BUNDLE;
    }
}
